<?php

if(!$_SESSION['user']['username']){
	//redirect(BASE_URL);
}

switch($_GET['act']){
case "home":
require("controllers/manage/index.php");
break;	
case "manga":
require("controllers/manage/manga/controller.php");
break;	
case "truyen":
require("controllers/manage/truyen/controller.php");
break;	
case "user":
require("controllers/manage/user/controller.php");
break;
case "blog":
require("controllers/manage/blog/controller.php");
break;
case "admin":
require("controllers/manage/admin/controller.php");
break;		
		
	
}


switch($_POST['act']){
case "manga":
require("controllers/manage/manga/controller.php");
break;	
case "truyen":
require("controllers/manage/truyen/controller.php");
break;	
case "user":
require("controllers/manage/user/controller.php");
break;
case "blog":
require("controllers/manage/blog/controller.php");
break;		
}